import Layout from '@/layout/Layout'

const financeRouter = {
  path: '/finance',
  component: Layout,
  redirect: 'noredirect',
  name: '资金管理',
  meta: {
    title: '资金管理',
    icon: 'el-icon-s-ticket'
  },
  children: [
    {
      path: 'billManagement',
      component: () => import('@/views/finance/BillManagement'),
      name: 'BillManagement',
      meta: { title: '账单明细',cache: true}
    },
    {
      path: 'userAccountManagement',
      component: () => import('@/views/finance/UserAccountManagement'),
      name: 'UserAccountManagement',
      meta: { title: '余额管理',cache: true}
    },
    {
      path: 'cashRecordManagement',
      component: () => import('@/views/finance/CashRecordManagement'),
      name: 'CashRecordManagement',
      meta: { title: '提现记录',cache: true}
    },
    // {
    //   path: 'accountCheckManagement',
    //   component: () => import('@/views/finance/AccountCheckManagement'),
    //   name: 'AccountCheckManagement',
    //   meta: { title: '资质审核',cache: true}
    // },
  ]
}

export default financeRouter
